﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KD.DataImport
{
    public class SamplingInfo
    {
        string _strBeginTime, _strEndTime;
        public int Sampling_Id { set; get; }
        public string Car_NO { set; get; }
        public string FLowid { set; get; }
        public string Device { set; get; }
        public decimal TotalLength { set; get; }
        public decimal CarriageLength { set; get; }
        public decimal CarriageWidth { set; get; }
        public decimal CarriageHeight { set; get; }
        public string CarriagePostions { set; get; }
        public string BatchDate { set; get; }
        public string Kind_Name { set; get; }
        public string Material_Name { set; get; }
        public string Supplier_Name { set; get; }
        public string Unit_Name { set; get; }
        public int Sample_Pail { set; get; }
        public int Pos_Count { set; get; }
        public int LayoutType { set; get; }
        public string Sampling_Time
        {
            set
            {
                _strBeginTime = value.Replace("T", " ");
            }
            get
            {
                return _strBeginTime;
            }
        }
        public string Sampling_Time_End
        {
            set
            {
                _strEndTime = value.Replace("T", " ");
            }
            get
            {
                return _strEndTime;
            }
        }
        public int Sampling_State { set; get; }
        public decimal SampleWeight { set; get; }
        public string SampleRfid { set; get; }
        public string SamplingPos { set; get; }
        public string Img_Begin { set; get; }
        public string Img_End { set; get; }
    }
}
